import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import './validate'
import '@/mock'

import Header from 'components/Header/v-header'
import Star from 'components/Star/stars'
import {Button,MessageBox,Toast} from 'mint-ui'
import 'mint-ui/lib/button/style.css'
import 'mint-ui/lib/message-box/style.css'
import 'mint-ui/lib/toast/style.css'

Vue.component('Header', Header)
Vue.component('Star', Star)
Vue.component(Button.name, Button)
Vue.component(MessageBox.name, MessageBox)
Vue.component(Toast.name, Toast)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  components: { App },
  template: '<App/>',
  router,
  store,
})
